home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12005 < prev    next >
Encoding:
Text File  |  1996-08-05  |  862 b   |  26 lines

  1. Path: EU.net!sun4nl!xs4all!falstaff
  2. From: falstaff@xs4all.nl (Falstaff)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: I need help.
  5. Date: 28 Mar 1996 07:47:23 GMT
  6. Organization: XS4ALL, networking for the masses
  7. Message-ID: <4jdg6b$sba@news.xs4all.nl>
  8. References: <4j9hr7$skj@cronkite.seas.gwu.edu>
  9. NNTP-Posting-Host: xs1.xs4all.nl
  10. X-Newsreader: NN version 6.5.0 #666 (NOV)
  11.  
  12. celtik@gwis2.circ.gwu.edu (Tolga Celtikci) writes:
  13.  
  14. >Can anyone help me with the syntax of EOF. Is it '\o' or something else?
  15.  
  16. #include <stdio.h>
  17.  
  18. Then, EOF is EOF.  (Usually defined as -1).  Note that EOF is an
  19. int and not a char, so you can't include it in a string.
  20.  
  21. Frank
  22. --
  23. The famous GIICM now on line:  http://www.xs4all.nl/~falstaff/GIICM.html
  24. ------------------------------------------------------------------------
  25. Frank A. Vorstenbosch        +31-(70)-355 5241        falstaff@xs4all.nl
  26.